package com.yohann.designPattern.decorator.condiment;

import com.yohann.designPattern.decorator.coffee.Drink;

/**
 * <p>
 * 巧克力
 * </p>
 *
 * @author Yohann
 * @since 2021/2/7 15:19
 */
public class Chocolate extends Decorator {
    public Chocolate(Drink drink) {
        super(drink);
        setDescription("Chocolate");
        setPrice(1.29F);
    }
}